package com.crm.service;

import com.crm.entity.SysUser;
import com.crm.mapper.SysUserMapper;
import com.crm.mybatis.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> implements SysUserService{

    @Resource
    SysUserMapper sysUserMapper;
    @Override
    public SysUser getUser(long usrId) {
        return sysUserMapper.getUser(usrId);
    }

    @Override
    public List<SysUser> getListUser() {
        return sysUserMapper.getListUser();
    }
}
